package com.rf.richfitwheel.workflow.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class WfProcessFolderExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public WfProcessFolderExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andFolderNameIsNull() {
            addCriterion("folder_name is null");
            return (Criteria) this;
        }

        public Criteria andFolderNameIsNotNull() {
            addCriterion("folder_name is not null");
            return (Criteria) this;
        }

        public Criteria andFolderNameEqualTo(String value) {
            addCriterion("folder_name =", value, "folderName");
            return (Criteria) this;
        }

        public Criteria andFolderNameNotEqualTo(String value) {
            addCriterion("folder_name <>", value, "folderName");
            return (Criteria) this;
        }

        public Criteria andFolderNameGreaterThan(String value) {
            addCriterion("folder_name >", value, "folderName");
            return (Criteria) this;
        }

        public Criteria andFolderNameGreaterThanOrEqualTo(String value) {
            addCriterion("folder_name >=", value, "folderName");
            return (Criteria) this;
        }

        public Criteria andFolderNameLessThan(String value) {
            addCriterion("folder_name <", value, "folderName");
            return (Criteria) this;
        }

        public Criteria andFolderNameLessThanOrEqualTo(String value) {
            addCriterion("folder_name <=", value, "folderName");
            return (Criteria) this;
        }

        public Criteria andFolderNameLike(String value) {
            addCriterion("folder_name like", value, "folderName");
            return (Criteria) this;
        }

        public Criteria andFolderNameNotLike(String value) {
            addCriterion("folder_name not like", value, "folderName");
            return (Criteria) this;
        }

        public Criteria andFolderNameIn(List<String> values) {
            addCriterion("folder_name in", values, "folderName");
            return (Criteria) this;
        }

        public Criteria andFolderNameNotIn(List<String> values) {
            addCriterion("folder_name not in", values, "folderName");
            return (Criteria) this;
        }

        public Criteria andFolderNameBetween(String value1, String value2) {
            addCriterion("folder_name between", value1, value2, "folderName");
            return (Criteria) this;
        }

        public Criteria andFolderNameNotBetween(String value1, String value2) {
            addCriterion("folder_name not between", value1, value2, "folderName");
            return (Criteria) this;
        }

        public Criteria andFolderCodeIsNull() {
            addCriterion("folder_code is null");
            return (Criteria) this;
        }

        public Criteria andFolderCodeIsNotNull() {
            addCriterion("folder_code is not null");
            return (Criteria) this;
        }

        public Criteria andFolderCodeEqualTo(String value) {
            addCriterion("folder_code =", value, "folderCode");
            return (Criteria) this;
        }

        public Criteria andFolderCodeNotEqualTo(String value) {
            addCriterion("folder_code <>", value, "folderCode");
            return (Criteria) this;
        }

        public Criteria andFolderCodeGreaterThan(String value) {
            addCriterion("folder_code >", value, "folderCode");
            return (Criteria) this;
        }

        public Criteria andFolderCodeGreaterThanOrEqualTo(String value) {
            addCriterion("folder_code >=", value, "folderCode");
            return (Criteria) this;
        }

        public Criteria andFolderCodeLessThan(String value) {
            addCriterion("folder_code <", value, "folderCode");
            return (Criteria) this;
        }

        public Criteria andFolderCodeLessThanOrEqualTo(String value) {
            addCriterion("folder_code <=", value, "folderCode");
            return (Criteria) this;
        }

        public Criteria andFolderCodeLike(String value) {
            addCriterion("folder_code like", value, "folderCode");
            return (Criteria) this;
        }

        public Criteria andFolderCodeNotLike(String value) {
            addCriterion("folder_code not like", value, "folderCode");
            return (Criteria) this;
        }

        public Criteria andFolderCodeIn(List<String> values) {
            addCriterion("folder_code in", values, "folderCode");
            return (Criteria) this;
        }

        public Criteria andFolderCodeNotIn(List<String> values) {
            addCriterion("folder_code not in", values, "folderCode");
            return (Criteria) this;
        }

        public Criteria andFolderCodeBetween(String value1, String value2) {
            addCriterion("folder_code between", value1, value2, "folderCode");
            return (Criteria) this;
        }

        public Criteria andFolderCodeNotBetween(String value1, String value2) {
            addCriterion("folder_code not between", value1, value2, "folderCode");
            return (Criteria) this;
        }

        public Criteria andFolderTypeIsNull() {
            addCriterion("folder_type is null");
            return (Criteria) this;
        }

        public Criteria andFolderTypeIsNotNull() {
            addCriterion("folder_type is not null");
            return (Criteria) this;
        }

        public Criteria andFolderTypeEqualTo(String value) {
            addCriterion("folder_type =", value, "folderType");
            return (Criteria) this;
        }

        public Criteria andFolderTypeNotEqualTo(String value) {
            addCriterion("folder_type <>", value, "folderType");
            return (Criteria) this;
        }

        public Criteria andFolderTypeGreaterThan(String value) {
            addCriterion("folder_type >", value, "folderType");
            return (Criteria) this;
        }

        public Criteria andFolderTypeGreaterThanOrEqualTo(String value) {
            addCriterion("folder_type >=", value, "folderType");
            return (Criteria) this;
        }

        public Criteria andFolderTypeLessThan(String value) {
            addCriterion("folder_type <", value, "folderType");
            return (Criteria) this;
        }

        public Criteria andFolderTypeLessThanOrEqualTo(String value) {
            addCriterion("folder_type <=", value, "folderType");
            return (Criteria) this;
        }

        public Criteria andFolderTypeLike(String value) {
            addCriterion("folder_type like", value, "folderType");
            return (Criteria) this;
        }

        public Criteria andFolderTypeNotLike(String value) {
            addCriterion("folder_type not like", value, "folderType");
            return (Criteria) this;
        }

        public Criteria andFolderTypeIn(List<String> values) {
            addCriterion("folder_type in", values, "folderType");
            return (Criteria) this;
        }

        public Criteria andFolderTypeNotIn(List<String> values) {
            addCriterion("folder_type not in", values, "folderType");
            return (Criteria) this;
        }

        public Criteria andFolderTypeBetween(String value1, String value2) {
            addCriterion("folder_type between", value1, value2, "folderType");
            return (Criteria) this;
        }

        public Criteria andFolderTypeNotBetween(String value1, String value2) {
            addCriterion("folder_type not between", value1, value2, "folderType");
            return (Criteria) this;
        }

        public Criteria andFolderLevelIsNull() {
            addCriterion("folder_level is null");
            return (Criteria) this;
        }

        public Criteria andFolderLevelIsNotNull() {
            addCriterion("folder_level is not null");
            return (Criteria) this;
        }

        public Criteria andFolderLevelEqualTo(Integer value) {
            addCriterion("folder_level =", value, "folderLevel");
            return (Criteria) this;
        }

        public Criteria andFolderLevelNotEqualTo(Integer value) {
            addCriterion("folder_level <>", value, "folderLevel");
            return (Criteria) this;
        }

        public Criteria andFolderLevelGreaterThan(Integer value) {
            addCriterion("folder_level >", value, "folderLevel");
            return (Criteria) this;
        }

        public Criteria andFolderLevelGreaterThanOrEqualTo(Integer value) {
            addCriterion("folder_level >=", value, "folderLevel");
            return (Criteria) this;
        }

        public Criteria andFolderLevelLessThan(Integer value) {
            addCriterion("folder_level <", value, "folderLevel");
            return (Criteria) this;
        }

        public Criteria andFolderLevelLessThanOrEqualTo(Integer value) {
            addCriterion("folder_level <=", value, "folderLevel");
            return (Criteria) this;
        }

        public Criteria andFolderLevelIn(List<Integer> values) {
            addCriterion("folder_level in", values, "folderLevel");
            return (Criteria) this;
        }

        public Criteria andFolderLevelNotIn(List<Integer> values) {
            addCriterion("folder_level not in", values, "folderLevel");
            return (Criteria) this;
        }

        public Criteria andFolderLevelBetween(Integer value1, Integer value2) {
            addCriterion("folder_level between", value1, value2, "folderLevel");
            return (Criteria) this;
        }

        public Criteria andFolderLevelNotBetween(Integer value1, Integer value2) {
            addCriterion("folder_level not between", value1, value2, "folderLevel");
            return (Criteria) this;
        }

        public Criteria andFolderStatusIsNull() {
            addCriterion("folder_status is null");
            return (Criteria) this;
        }

        public Criteria andFolderStatusIsNotNull() {
            addCriterion("folder_status is not null");
            return (Criteria) this;
        }

        public Criteria andFolderStatusEqualTo(String value) {
            addCriterion("folder_status =", value, "folderStatus");
            return (Criteria) this;
        }

        public Criteria andFolderStatusNotEqualTo(String value) {
            addCriterion("folder_status <>", value, "folderStatus");
            return (Criteria) this;
        }

        public Criteria andFolderStatusGreaterThan(String value) {
            addCriterion("folder_status >", value, "folderStatus");
            return (Criteria) this;
        }

        public Criteria andFolderStatusGreaterThanOrEqualTo(String value) {
            addCriterion("folder_status >=", value, "folderStatus");
            return (Criteria) this;
        }

        public Criteria andFolderStatusLessThan(String value) {
            addCriterion("folder_status <", value, "folderStatus");
            return (Criteria) this;
        }

        public Criteria andFolderStatusLessThanOrEqualTo(String value) {
            addCriterion("folder_status <=", value, "folderStatus");
            return (Criteria) this;
        }

        public Criteria andFolderStatusLike(String value) {
            addCriterion("folder_status like", value, "folderStatus");
            return (Criteria) this;
        }

        public Criteria andFolderStatusNotLike(String value) {
            addCriterion("folder_status not like", value, "folderStatus");
            return (Criteria) this;
        }

        public Criteria andFolderStatusIn(List<String> values) {
            addCriterion("folder_status in", values, "folderStatus");
            return (Criteria) this;
        }

        public Criteria andFolderStatusNotIn(List<String> values) {
            addCriterion("folder_status not in", values, "folderStatus");
            return (Criteria) this;
        }

        public Criteria andFolderStatusBetween(String value1, String value2) {
            addCriterion("folder_status between", value1, value2, "folderStatus");
            return (Criteria) this;
        }

        public Criteria andFolderStatusNotBetween(String value1, String value2) {
            addCriterion("folder_status not between", value1, value2, "folderStatus");
            return (Criteria) this;
        }

        public Criteria andIsCustomizedIsNull() {
            addCriterion("is_customized is null");
            return (Criteria) this;
        }

        public Criteria andIsCustomizedIsNotNull() {
            addCriterion("is_customized is not null");
            return (Criteria) this;
        }

        public Criteria andIsCustomizedEqualTo(String value) {
            addCriterion("is_customized =", value, "isCustomized");
            return (Criteria) this;
        }

        public Criteria andIsCustomizedNotEqualTo(String value) {
            addCriterion("is_customized <>", value, "isCustomized");
            return (Criteria) this;
        }

        public Criteria andIsCustomizedGreaterThan(String value) {
            addCriterion("is_customized >", value, "isCustomized");
            return (Criteria) this;
        }

        public Criteria andIsCustomizedGreaterThanOrEqualTo(String value) {
            addCriterion("is_customized >=", value, "isCustomized");
            return (Criteria) this;
        }

        public Criteria andIsCustomizedLessThan(String value) {
            addCriterion("is_customized <", value, "isCustomized");
            return (Criteria) this;
        }

        public Criteria andIsCustomizedLessThanOrEqualTo(String value) {
            addCriterion("is_customized <=", value, "isCustomized");
            return (Criteria) this;
        }

        public Criteria andIsCustomizedLike(String value) {
            addCriterion("is_customized like", value, "isCustomized");
            return (Criteria) this;
        }

        public Criteria andIsCustomizedNotLike(String value) {
            addCriterion("is_customized not like", value, "isCustomized");
            return (Criteria) this;
        }

        public Criteria andIsCustomizedIn(List<String> values) {
            addCriterion("is_customized in", values, "isCustomized");
            return (Criteria) this;
        }

        public Criteria andIsCustomizedNotIn(List<String> values) {
            addCriterion("is_customized not in", values, "isCustomized");
            return (Criteria) this;
        }

        public Criteria andIsCustomizedBetween(String value1, String value2) {
            addCriterion("is_customized between", value1, value2, "isCustomized");
            return (Criteria) this;
        }

        public Criteria andIsCustomizedNotBetween(String value1, String value2) {
            addCriterion("is_customized not between", value1, value2, "isCustomized");
            return (Criteria) this;
        }

        public Criteria andDesignDisplayIsNull() {
            addCriterion("design_display is null");
            return (Criteria) this;
        }

        public Criteria andDesignDisplayIsNotNull() {
            addCriterion("design_display is not null");
            return (Criteria) this;
        }

        public Criteria andDesignDisplayEqualTo(String value) {
            addCriterion("design_display =", value, "designDisplay");
            return (Criteria) this;
        }

        public Criteria andDesignDisplayNotEqualTo(String value) {
            addCriterion("design_display <>", value, "designDisplay");
            return (Criteria) this;
        }

        public Criteria andDesignDisplayGreaterThan(String value) {
            addCriterion("design_display >", value, "designDisplay");
            return (Criteria) this;
        }

        public Criteria andDesignDisplayGreaterThanOrEqualTo(String value) {
            addCriterion("design_display >=", value, "designDisplay");
            return (Criteria) this;
        }

        public Criteria andDesignDisplayLessThan(String value) {
            addCriterion("design_display <", value, "designDisplay");
            return (Criteria) this;
        }

        public Criteria andDesignDisplayLessThanOrEqualTo(String value) {
            addCriterion("design_display <=", value, "designDisplay");
            return (Criteria) this;
        }

        public Criteria andDesignDisplayLike(String value) {
            addCriterion("design_display like", value, "designDisplay");
            return (Criteria) this;
        }

        public Criteria andDesignDisplayNotLike(String value) {
            addCriterion("design_display not like", value, "designDisplay");
            return (Criteria) this;
        }

        public Criteria andDesignDisplayIn(List<String> values) {
            addCriterion("design_display in", values, "designDisplay");
            return (Criteria) this;
        }

        public Criteria andDesignDisplayNotIn(List<String> values) {
            addCriterion("design_display not in", values, "designDisplay");
            return (Criteria) this;
        }

        public Criteria andDesignDisplayBetween(String value1, String value2) {
            addCriterion("design_display between", value1, value2, "designDisplay");
            return (Criteria) this;
        }

        public Criteria andDesignDisplayNotBetween(String value1, String value2) {
            addCriterion("design_display not between", value1, value2, "designDisplay");
            return (Criteria) this;
        }

        public Criteria andFolderDescIsNull() {
            addCriterion("folder_desc is null");
            return (Criteria) this;
        }

        public Criteria andFolderDescIsNotNull() {
            addCriterion("folder_desc is not null");
            return (Criteria) this;
        }

        public Criteria andFolderDescEqualTo(String value) {
            addCriterion("folder_desc =", value, "folderDesc");
            return (Criteria) this;
        }

        public Criteria andFolderDescNotEqualTo(String value) {
            addCriterion("folder_desc <>", value, "folderDesc");
            return (Criteria) this;
        }

        public Criteria andFolderDescGreaterThan(String value) {
            addCriterion("folder_desc >", value, "folderDesc");
            return (Criteria) this;
        }

        public Criteria andFolderDescGreaterThanOrEqualTo(String value) {
            addCriterion("folder_desc >=", value, "folderDesc");
            return (Criteria) this;
        }

        public Criteria andFolderDescLessThan(String value) {
            addCriterion("folder_desc <", value, "folderDesc");
            return (Criteria) this;
        }

        public Criteria andFolderDescLessThanOrEqualTo(String value) {
            addCriterion("folder_desc <=", value, "folderDesc");
            return (Criteria) this;
        }

        public Criteria andFolderDescLike(String value) {
            addCriterion("folder_desc like", value, "folderDesc");
            return (Criteria) this;
        }

        public Criteria andFolderDescNotLike(String value) {
            addCriterion("folder_desc not like", value, "folderDesc");
            return (Criteria) this;
        }

        public Criteria andFolderDescIn(List<String> values) {
            addCriterion("folder_desc in", values, "folderDesc");
            return (Criteria) this;
        }

        public Criteria andFolderDescNotIn(List<String> values) {
            addCriterion("folder_desc not in", values, "folderDesc");
            return (Criteria) this;
        }

        public Criteria andFolderDescBetween(String value1, String value2) {
            addCriterion("folder_desc between", value1, value2, "folderDesc");
            return (Criteria) this;
        }

        public Criteria andFolderDescNotBetween(String value1, String value2) {
            addCriterion("folder_desc not between", value1, value2, "folderDesc");
            return (Criteria) this;
        }

        public Criteria andModuleTypeIsNull() {
            addCriterion("module_type is null");
            return (Criteria) this;
        }

        public Criteria andModuleTypeIsNotNull() {
            addCriterion("module_type is not null");
            return (Criteria) this;
        }

        public Criteria andModuleTypeEqualTo(String value) {
            addCriterion("module_type =", value, "moduleType");
            return (Criteria) this;
        }

        public Criteria andModuleTypeNotEqualTo(String value) {
            addCriterion("module_type <>", value, "moduleType");
            return (Criteria) this;
        }

        public Criteria andModuleTypeGreaterThan(String value) {
            addCriterion("module_type >", value, "moduleType");
            return (Criteria) this;
        }

        public Criteria andModuleTypeGreaterThanOrEqualTo(String value) {
            addCriterion("module_type >=", value, "moduleType");
            return (Criteria) this;
        }

        public Criteria andModuleTypeLessThan(String value) {
            addCriterion("module_type <", value, "moduleType");
            return (Criteria) this;
        }

        public Criteria andModuleTypeLessThanOrEqualTo(String value) {
            addCriterion("module_type <=", value, "moduleType");
            return (Criteria) this;
        }

        public Criteria andModuleTypeLike(String value) {
            addCriterion("module_type like", value, "moduleType");
            return (Criteria) this;
        }

        public Criteria andModuleTypeNotLike(String value) {
            addCriterion("module_type not like", value, "moduleType");
            return (Criteria) this;
        }

        public Criteria andModuleTypeIn(List<String> values) {
            addCriterion("module_type in", values, "moduleType");
            return (Criteria) this;
        }

        public Criteria andModuleTypeNotIn(List<String> values) {
            addCriterion("module_type not in", values, "moduleType");
            return (Criteria) this;
        }

        public Criteria andModuleTypeBetween(String value1, String value2) {
            addCriterion("module_type between", value1, value2, "moduleType");
            return (Criteria) this;
        }

        public Criteria andModuleTypeNotBetween(String value1, String value2) {
            addCriterion("module_type not between", value1, value2, "moduleType");
            return (Criteria) this;
        }

        public Criteria andParentIdIsNull() {
            addCriterion("parent_id is null");
            return (Criteria) this;
        }

        public Criteria andParentIdIsNotNull() {
            addCriterion("parent_id is not null");
            return (Criteria) this;
        }

        public Criteria andParentIdEqualTo(String value) {
            addCriterion("parent_id =", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdNotEqualTo(String value) {
            addCriterion("parent_id <>", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdGreaterThan(String value) {
            addCriterion("parent_id >", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdGreaterThanOrEqualTo(String value) {
            addCriterion("parent_id >=", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdLessThan(String value) {
            addCriterion("parent_id <", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdLessThanOrEqualTo(String value) {
            addCriterion("parent_id <=", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdLike(String value) {
            addCriterion("parent_id like", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdNotLike(String value) {
            addCriterion("parent_id not like", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdIn(List<String> values) {
            addCriterion("parent_id in", values, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdNotIn(List<String> values) {
            addCriterion("parent_id not in", values, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdBetween(String value1, String value2) {
            addCriterion("parent_id between", value1, value2, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdNotBetween(String value1, String value2) {
            addCriterion("parent_id not between", value1, value2, "parentId");
            return (Criteria) this;
        }

        public Criteria andCreaterIsNull() {
            addCriterion("creater is null");
            return (Criteria) this;
        }

        public Criteria andCreaterIsNotNull() {
            addCriterion("creater is not null");
            return (Criteria) this;
        }

        public Criteria andCreaterEqualTo(String value) {
            addCriterion("creater =", value, "creater");
            return (Criteria) this;
        }

        public Criteria andCreaterNotEqualTo(String value) {
            addCriterion("creater <>", value, "creater");
            return (Criteria) this;
        }

        public Criteria andCreaterGreaterThan(String value) {
            addCriterion("creater >", value, "creater");
            return (Criteria) this;
        }

        public Criteria andCreaterGreaterThanOrEqualTo(String value) {
            addCriterion("creater >=", value, "creater");
            return (Criteria) this;
        }

        public Criteria andCreaterLessThan(String value) {
            addCriterion("creater <", value, "creater");
            return (Criteria) this;
        }

        public Criteria andCreaterLessThanOrEqualTo(String value) {
            addCriterion("creater <=", value, "creater");
            return (Criteria) this;
        }

        public Criteria andCreaterLike(String value) {
            addCriterion("creater like", value, "creater");
            return (Criteria) this;
        }

        public Criteria andCreaterNotLike(String value) {
            addCriterion("creater not like", value, "creater");
            return (Criteria) this;
        }

        public Criteria andCreaterIn(List<String> values) {
            addCriterion("creater in", values, "creater");
            return (Criteria) this;
        }

        public Criteria andCreaterNotIn(List<String> values) {
            addCriterion("creater not in", values, "creater");
            return (Criteria) this;
        }

        public Criteria andCreaterBetween(String value1, String value2) {
            addCriterion("creater between", value1, value2, "creater");
            return (Criteria) this;
        }

        public Criteria andCreaterNotBetween(String value1, String value2) {
            addCriterion("creater not between", value1, value2, "creater");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andModUserIsNull() {
            addCriterion("mod_user is null");
            return (Criteria) this;
        }

        public Criteria andModUserIsNotNull() {
            addCriterion("mod_user is not null");
            return (Criteria) this;
        }

        public Criteria andModUserEqualTo(String value) {
            addCriterion("mod_user =", value, "modUser");
            return (Criteria) this;
        }

        public Criteria andModUserNotEqualTo(String value) {
            addCriterion("mod_user <>", value, "modUser");
            return (Criteria) this;
        }

        public Criteria andModUserGreaterThan(String value) {
            addCriterion("mod_user >", value, "modUser");
            return (Criteria) this;
        }

        public Criteria andModUserGreaterThanOrEqualTo(String value) {
            addCriterion("mod_user >=", value, "modUser");
            return (Criteria) this;
        }

        public Criteria andModUserLessThan(String value) {
            addCriterion("mod_user <", value, "modUser");
            return (Criteria) this;
        }

        public Criteria andModUserLessThanOrEqualTo(String value) {
            addCriterion("mod_user <=", value, "modUser");
            return (Criteria) this;
        }

        public Criteria andModUserLike(String value) {
            addCriterion("mod_user like", value, "modUser");
            return (Criteria) this;
        }

        public Criteria andModUserNotLike(String value) {
            addCriterion("mod_user not like", value, "modUser");
            return (Criteria) this;
        }

        public Criteria andModUserIn(List<String> values) {
            addCriterion("mod_user in", values, "modUser");
            return (Criteria) this;
        }

        public Criteria andModUserNotIn(List<String> values) {
            addCriterion("mod_user not in", values, "modUser");
            return (Criteria) this;
        }

        public Criteria andModUserBetween(String value1, String value2) {
            addCriterion("mod_user between", value1, value2, "modUser");
            return (Criteria) this;
        }

        public Criteria andModUserNotBetween(String value1, String value2) {
            addCriterion("mod_user not between", value1, value2, "modUser");
            return (Criteria) this;
        }

        public Criteria andModTimeIsNull() {
            addCriterion("mod_time is null");
            return (Criteria) this;
        }

        public Criteria andModTimeIsNotNull() {
            addCriterion("mod_time is not null");
            return (Criteria) this;
        }

        public Criteria andModTimeEqualTo(Date value) {
            addCriterion("mod_time =", value, "modTime");
            return (Criteria) this;
        }

        public Criteria andModTimeNotEqualTo(Date value) {
            addCriterion("mod_time <>", value, "modTime");
            return (Criteria) this;
        }

        public Criteria andModTimeGreaterThan(Date value) {
            addCriterion("mod_time >", value, "modTime");
            return (Criteria) this;
        }

        public Criteria andModTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("mod_time >=", value, "modTime");
            return (Criteria) this;
        }

        public Criteria andModTimeLessThan(Date value) {
            addCriterion("mod_time <", value, "modTime");
            return (Criteria) this;
        }

        public Criteria andModTimeLessThanOrEqualTo(Date value) {
            addCriterion("mod_time <=", value, "modTime");
            return (Criteria) this;
        }

        public Criteria andModTimeIn(List<Date> values) {
            addCriterion("mod_time in", values, "modTime");
            return (Criteria) this;
        }

        public Criteria andModTimeNotIn(List<Date> values) {
            addCriterion("mod_time not in", values, "modTime");
            return (Criteria) this;
        }

        public Criteria andModTimeBetween(Date value1, Date value2) {
            addCriterion("mod_time between", value1, value2, "modTime");
            return (Criteria) this;
        }

        public Criteria andModTimeNotBetween(Date value1, Date value2) {
            addCriterion("mod_time not between", value1, value2, "modTime");
            return (Criteria) this;
        }

        public Criteria andOrderNumIsNull() {
            addCriterion("order_num is null");
            return (Criteria) this;
        }

        public Criteria andOrderNumIsNotNull() {
            addCriterion("order_num is not null");
            return (Criteria) this;
        }

        public Criteria andOrderNumEqualTo(Integer value) {
            addCriterion("order_num =", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumNotEqualTo(Integer value) {
            addCriterion("order_num <>", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumGreaterThan(Integer value) {
            addCriterion("order_num >", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("order_num >=", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumLessThan(Integer value) {
            addCriterion("order_num <", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumLessThanOrEqualTo(Integer value) {
            addCriterion("order_num <=", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumIn(List<Integer> values) {
            addCriterion("order_num in", values, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumNotIn(List<Integer> values) {
            addCriterion("order_num not in", values, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumBetween(Integer value1, Integer value2) {
            addCriterion("order_num between", value1, value2, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumNotBetween(Integer value1, Integer value2) {
            addCriterion("order_num not between", value1, value2, "orderNum");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}